Integrated Documents Processing

Integrated document processing, or heterogeneous document processing, involves handling a unified set of documents that consist of various types of documents. These could include items such as Aadhar cards, PAN cards, medical forms, and more. TruCap+ offers a specialized feature for processing integrated documents, allowing for inter-document validation rules across fields from different subtypes. This functionality treats such documents as a single case during processing, streamlining the workflow.

 

Overview of integrated document processing

When an integrated document is uploaded, TruCap+ applies document splitting and classification to segregate pages according to subtypes. Each page is processed individually within its subtype. Once all individual pages have been processed, the integrated rules are employed to verify data extraction, validation, and inter-document validation failures. This approach ensures accurate and reliable processing, even when dealing with complex integrated documents. See exampleClosed
Suppose a medical form is received along with supporting documents like PAN, Aadhar, and insurance documents. The system processes each page individually within its subtype (e.g., Medical form, PAN, Aadhar, Insurance). Once all pages have been processed, the integrated rules are applied to validate the entire integrated case.

Note:

It's recommended to upload documents containing only one integrated documents case. For instance, a PDF document with multiple pages of a single person's claim form. Uploading documents with multiple user records within a single file may lead to confusion and errors.

 

Processing integrated documents

To process integrated documents, follow these steps:

  1. Set the project as an integrated project to enable inter-document validations.

  2. Define the project's input and output types for integrated documents.

  3. Apply validation rules across fields from different subtypes.

 

Introducing integrated project option

A toggle button named Integrated Project is introduced to enable inter-document validations for integrated documents. Refer Parameters tab in Adding project for more details.

 

Input and output type for integrated project

Input type

Note:

While defining an input source for an integrated project, the subtype field is disabled. Refer to Adding input source for setting an input source.

Below is the list of different scenarios in which the user can ingest the different type of documents in case of integrated documents.

  1. Individual file: If the ingested file is a single document, then each document is considered as a integrated (heterogeneous) case.

  2. ZIP file: If the ingested file is a ZIP file, all files within the ZIP file and its sub-folders will be considered a single integrated (heterogeneous) case for maintaining a single level of parent-child relation.

  3. Email: All documents attached within an email, whether zipped or not, will be treated as a part of a single integrated (heterogeneous) case, and the email will be treated as a parent document for integrated projects.

  4. Multiple heterogeneous documents inside a single file: In case of multiple integrated documents received in a single file, the user should send the parent document to split merge and discard the unwanted pages.

  5. Enormous files in a folder: Suppose the number of child documents after auto/manual classification and splitting within a single heterogeneous case is more than 50. In that case, the parent document is rejected with the appropriate remark mentioned in the Document monitor. For example, If rejected due to >50 count, the remark would be File count exceeded for Integrated Project.

  6. API: If the input type is an API, the user is expected to push the single document \ zip file for integrated project without selecting a specific subtype as a single heterogeneous case. API users should be able to fetch status, data, and invoice HITL for MI \ QC based on Parent document ID.

 

Output type

Note:

  • While defining an output source for an integrated project, the Merge output for Doc Classification toggle switch is enabled by default. Refer to Adding output source for setting an output source.

  • For an integrated project, merging of output is mandatory. Hence the output will be a single file depending on the output file format selected.

 

Setting minimum and maximum document count

If the project is an integrated project, then, at the subtype level (only for the integrated project), the user can set the minimum and the maximum document count under Integrated Project Document Count field (see below image). For details about adding subtype, refer adding subtype.

By default, the minimum count will be 0, and the maximum count will be 1 [the permitted range is between (0-100) both for Min and Max values, respectively]. The user can change as per requirement. The Min and Max value could be set the same. For example, Min and Max are 2; in this scenario, we expect exactly 2 documents from that subtype.

 

Setting integrated rules

If the Integrated Project toggle button is enabled, then the user can set rules (2 rules mentioned below) where the user can set validation rules across fields from different subtypes.

Note:

  • In TruCap+, '@' is used to specify the field. For inter-validation, '$' will be used to include the sibling subtype. For example, $PAN@PANname, where PAN is the subtype and PANname is the field on the PAN subtype.

  • Introduction of the 2 new rules will not affect the existing rules.

  • The 2 new rules are only applicable to the Header section.

Below are the 2 validation rules to set validation rules across fields from different subtypes.

Note:

As a best practice, creating the inter-validation rule in the supporting ontology is advised to be validated against the primary. For example, if a claim form name is to be cross-checked with the name in the PAN of Aadhaar, creating an inter-validation rule under the PAN subtype is advised. Also, it is advised to keep the reference field mandatory.

 

Setting custom validations for integrated project

Using the Custom tab, user can define rules that can be applied as customised validations for an integrated project. For detailed information about the custom rules, see Expression language syntax topic.

  1. When a user clicks on +Add New Rule button to set custom rules for a field in an integrated project. The Custom Rule window opens (see image below).

Based on the description given in the table below, provide the required values for the parameters.

PARAMETER

DESCRIPTION

Name*

Specify a field name.

Description

Specify a related description.

Field Tab

Displays the available fields used to create a customized validation rule.

All fields, including the sibling subtype fields, are displayed. The left side of the tab shows the integrated project's subtype list and the right side displays the fields created for the selected subtype.

Click on the required field in the Field tab for the chosen subtype to include a field. The selected field gets added to the Builder field.

Functions Tab

Displays the available functions used to create a customized validation rule. Click on the required function available in the Functions tab to include a function (rule).

Expressions Tab

Displays the available expressions used to create a customized validation rule. Click on the required expression available in the Expressions tab to include an expression in the rule.

Operator

Displays the operators used to arrange the selected fields, functions, and expressions as per the desired logic.

Constraint*

Indicates any kind of restriction to be set while fetching the data.

Available options are Strictly One, All, Any One, All if Available, and Anyone if Available.

Action on fail*

Select the required option from the drop-down list to take the action in case the validation check fails. The available options are Discard, Discard and Continue, and Retain.

Binder*

Displays the selected fields, functions, expressions, and operator.

* Mandatory field

 

  1. Click Save to save the applied custom rules.

 

Understanding the integrated documents manual handling UI

To access the manual handling page, follow these steps:

  1. In the main menu, under Documents Processing, click Manual Process. The Manual Handling page opens.

Overview of integrated MI/QC screen

Below is the overview of the integrated MI/QC screen.

  • The integrated MI or QC screen will have tabs based on the document classification.

  • The tabs are named as per the subtype name.

  • The tabs are aligned based on the tab sequence configured at the project level. Refer Parameters tab in Adding project for more details.

  • If the tab name exceeds 12-13 characters, then hover on the tab to view the complete tab name.

  • In the case of multiple tabs, if the number of tabs crosses the MI screen display limit, the rest of the tabs are displayed as a drop-down. Users can scroll through the drop-down and click on the required tab to open it.

  • If the documents have any failed validations or any mandatory fields that have not been filled, then there will be a red dot visible as a suffix before the tab name.

  • If the documents have no failed validations or any mandatory fields, then there will be a green dot visible as a suffix before the tab name.

Note:

  • For integrated MI and QC, the View original document toggle switch is disabled. For details about settings, refer to MI page settings.

  • In the case of multi-suspects for a reference field, the field border will change to the multi-suspect color assigned. The user can customize the color of his choice by configuring the settings under the MI field background color section.

 

Quick access toolbars

The below image explains some handy tools available on the upper-right corner of the Integrated Manual Handling page.

Quick access toolbar 1

Hover-over the above image to know about the available features.

Click on the individual drop-downs for a detailed explanation of the available features.

Quick access toolbar 2

Hover-over the above image to know about the available features.

Click on the individual drop-downs for a detailed explanation of the available features.

 

Integrated validation

When a user switches between the tabs on the integrated MI screen and if there is any inter-document validation rule applied. An Integrated Validation window opens.

On the left side of the window, it shows the tab name. Once you click on the tab, the field details are visible on the right side of the window. Click Navigate to Tab to go to the respective field.